/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package se.hed.creature;

/**
 *
 * @author fredrik
 */
public class HomoSapiens {
    private Skill skill = null;
    private int birthYear = 0;

    public HomoSapiens() {}
    public HomoSapiens(Skill skill) {
        this.skill = skill;
    }

    public void setSkill(Skill skill) {
        this.skill = skill;
    }

    public String getSkillName() {
        return skill.getName();
    }

    public Skill getSkill() {
        return skill;
    }


    String getHarvestType() {
        return skill.resultType();
    }
    int harvest() {
        return skill.resultQuantity();
    }

    void setBirthYear(int year) {
        birthYear = year;
    }
    int getBirthYear() {
        return birthYear;
    }
}
